Organisms adapt to extreme temperatures through various mechanisms such as changing their behavior, adjusting their metabolic processes, evolving different physical characteristics, and seeking out suitable microhabitats. These adaptations help them survive and thrive in harsh environments with extreme temperatures.