The capacity to learn and use language is inherited. Normally, all humans are born with this capability. "Which" language is learned by a child depends on which language is spoken by the child's community. The "capacity" is inherited, but the particular language is learned.