serve a purpose
Also, serve one's or the purpose. Be useful, meet the needs or requirements, satisfy, as in I don't know why they've added all this information but it probably serves a purpose, or It often serves his purpose to be vague, or We don't have a spading fork but this shovel should serve the purpose. This idiom was first recorded in 1513.
Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.