Is laughing gas safe?

Is laughing gas safe for a 2 year old? Dentist wanting to use it. Please tell me everything you know about it if not. I did mention him get put to sleep not to sleep with the gas and he said he doesn’t think there is any other option cause he’s so young. Please help.