kite
The word 'cometa' in Spanish translates to 'kite' in English. It mainly refers to a lightweight object, typically made from paper or plastic, that is designed to fly in the air while being held at the end of a long string. It is a common toy for children who enjoy flying it on windy days. The term can also be used to refer to a comet in an astronomical context, but the most common translation is 'kite'.
The kite was flying high in the night sky.
This sentence uses 'cometa' as a noun referring to a 'kite'. Note that other Spanish-speaking regions might use different words for 'kite', like 'papalote' in Mexico.
The comet's tail left a trail of light.
In this context, 'cometa' is a noun meaning 'comet'. Specifically, it refers to a celestial body observed as a streak of light in the sky.
Johnny bought a kite to fly in the park.
This sentence again uses 'cometa' as a noun denoting 'kite', a toy that is flown in the air on the end of a string, and furthermore highlights its use in an everyday, casual context.