In philosophy, substance means, approximately, that element of an object without which it would not exist. In the millenia-old Aristotelian tradition, as well as early modern traditions that follow it, substances are treated as having attributes and modes.
See objecthood and substance theory.