To have a particular purpose or fill a certain role. Mrs. Smith will function as your homeroom teacher for the rest of the year now that Mrs. Jones is on maternity leave.
function as
v.
To serve a purpose or play a role similar to that of something else: The beaks of some wading birds function as spears for catching fish.