You can either give participants cards showing content without titles or categories and have the users do the naming (an open card sort), or give participants preliminary or pre-existing categories and ask participants to sort content or functions into those (a closed sort).