2 questions

what is the word down in this sentence?

1. Samantha rode her bike the hill.
noun or adjective or adverb or verb

2. What is the word sky in this sentence?

Suddenly, a rainbow appeared in the sky.

1. down the hill?

Down is a preposition

2. What do you think the word "sky" is?