Functions return information about an object, or its relatio…