Hyenas are primarily adapted to open grasslands, savannas, and scrublands in Africa and Asia. They need these environments for their hunting strategies which involve chasing and scavenging on large prey. Rainforests, with their dense vegetation and limited open spaces, would not be a suitable habitat for them.