It's a very informal and childish word, similar to "poo" in English. It's not typically used in polite conversation, but it's perfectly acceptable to use with children or in a casual setting.
Just like with any language, it's important to be mindful of the context and audience when using this word.