The first term, legal capacity, is acquired at the moment of birth, while the second, capacity to act, is acquired once the age of majority (18 years of age) is reached, along with the ability to take all actions for which no other age limit is prescribed.