Is it ok to have a bath while pregnant?

Elle 👼🏼👼🏼👨‍👩‍👦🤰🏻due 30/11/2021

I’d really love a bath but I’ve heard they can be dangerous when pregnant. Is this true? I forgot to ask my obstetrician when I saw him last :(