It was a practical session in the psychology class.
The professor showed a large cage with a male rat in it:
The rat was in the middle of the cage.
Then, the professor put a piece of cake on one side and put a female rat on the other side.
The male rat ran towards the cake and ate it.
Then, the professor changed the cake and replaced it with some bread.