The fish slept in the net.the net is a noun phrase. in is a prepositionin links the noun phrase the net to the words The fish slept.