NFL will look at the fumble-out-of-end-zone rule

What is the definition of the endzone?
Its called the END zone because when the ball reaches that zone its the END of the drive. If the O is in possession at that point, TD, if the O is not in possession at that point, TB. Pretty simple and logical to me.