What does goofing around means?

Goofing around probably refers to sexual activities but it could also just literally mean goofing/ playing around.