It's a science experiment conducted by a professor of agricultural and biological engineering. He's searching for ways to improve methods for estimating a given livestock farm's odor emissions.
The students' sniffing will help with his research to determine how far odors can travel and how far residences can be to a livestock farm and not be affected by its smells.