Here is how it is used in a sentence:
* Yo compartía mi comida con mis amigos. (I used to share my food with my friends.)
Note: The imperfect tense in Spanish is used to describe actions or states that were happening in the past, but are not happening now. It can also be used to describe habits or repeated actions in the past.