Note that "to take the piss out of someone" is different from "to take the piss" -- and neither one should be confused with "to take a piss," which simply means "to urinate."

"To take the piss" is...