(interrogative) What one or ones (of those mentioned or implied).
The/Any ones that; whichever.
(relative) Introduces a relative clause giving further information about something previously mentioned.
(relative) Used of people (now generally who, whom or that).