It can be used in many ways, similar to the English word:
* "Share something with someone": "Comparte tu comida conmigo." (Share your food with me.)
* "Share a space": "Compartieron un departamento." (They shared an apartment.)
* "Share an opinion": "Compartió su punto de vista." (He shared his point of view.)
Let me know if you need more examples or have other Spanish words you'd like translated!