Is it safe to try to lose weight while pregnant?

Dajaha

Excuse me if this is a dumb question lol. Just curious if it's safe to try to lose weight while pregnant without causing any harm to the baby. Mainly curious about dieting and exercise to lose weight, will this help or harm?

Thanks ! ❤️