Trick question. No trees "give" maple syrup. While any maple tree can be tapped for sap, typically the sap used most to produce maple syrup is derived from sugar maples. The sap is then boiled down to make syrup.
It doesn't grow inside a tree. Sap is extracted in late winter from the maple tree and then boiled to evaporate some water. The result is maple syrup! Check out the related link below for a great article on how to make maple syrup! You'll learn everything you need to on making maple syrup!