In both fish and frogs, the olfactory lobes are crucial for the sense of smell, aiding in prey detection and environmental awareness. However, they are more prominent in fish compared to frogs.