Push a stream of air from your throat through your open mouth. No tongue or lip contact.

Americans pronounce habitats as HA-buh-tats (/ˈhæbəɾæts/). In "habitats", the "t" between vowels sounds like a quick "d" — the tongue briefly taps the ridge behind the upper teeth. This is called the Flap T, a hallmark of natural-sounding American speech. It comes out as HA·buh·tats. Stress falls on the first syllable — keep everything else short and quick. You'll hear it in sentences like "Wildlife habitats are being destroyed at an alarming rate" or "He studies the behavior of animals in their natural habitats" — more examples below.
Record yourself saying "habitats" and play it back. The mic stays on your device — nothing's uploaded.
3 syllables, 8 sounds. Tap a syllable to jump to its row, then explore each sound's mouth shape and how it's made.
Quickly bounce the front of your tongue against the roof of your mouth. Don't stop the airflow — just a quick tap.

Drop the jaw noticeably. Keep the body of the tongue low and forward, and don't let the back of the tongue raise toward the soft palate. Pull the lip corners back slightly, almost a starting smile.

Touch the tip or front edge of your tongue to the roof of your mouth just behind your teeth. Keep your jaw relaxed. Stop the air, then release with a puff.

Place your tongue tip near the roof of your mouth behind your top teeth. Push air through the narrow gap. No voicing.

Click any sentence to see the full breakdown — every link, every reduction, every flap-T.
The textbook way isn't wrong — it's just not how anyone actually says it.
In "habitats", the "t" between vowels sounds like a quick "d" — the tongue briefly taps the ridge behind the upper teeth. /t/ or /d/ becomes a quick tap [ɾ] — sounds like a soft D. The tongue briefly taps the ridge behind the upper teeth.
Stress falls on the first syllable, not the others. Stretch HA — keep everything else short and quick.
Don't pronounce the first syllable too fully. The unstressed syllable reduces to a schwa — the lazy "uh" sound — in casual speech.