'Taking the piss' is British and Irish English meaning either (1) mocking someone, or (2) acting unreasonably / pushing one's luck. 'Are you taking the piss?' = 'are you joking / being unreasonable?'. Mildly vulgar but widely acceptable in British conversation. If your teen uses it, they are using everyday British slang. Harmless among friends; would not appear in formal writing.