Students learn from farm visit