What is the function of an apex in the leaf?

there is no particular function for the apex