In SO3, the sulfur atom shares its valence electrons with the three oxygen atoms to form three double bonds. The sharing of electrons results in the formation of a stable molecule where the atoms are held together by covalent bonds. The electronegativity difference between sulfur and oxygen atoms is not significant enough to cause significant ionic character in the compound. Therefore, SO3 is considered a covalent compound.