Here's why:
* Preposition: "under" is the preposition, showing the relationship between the snake and the couch.
* Object of the Preposition: "the couch" is the object of the preposition, telling us what the snake is under.
The entire phrase acts as an adverb, modifying the verb "slithered" by telling us where the snake slithered.