It's spelled the same, but pronounced differently. "Tracks" can be pronounced with the emphasis on the first syllable ("TRAKs") when referring to trails or footprints, or on the second syllable ("trackS") when referring to musical recordings.
Let me know if you'd like other examples of homophones! 😊