Children can have rights through both partition/property law and succession law, but those concepts should not be confused. When a person dies, the Civil Code's succession chapter determines who receives the deceased person's estate according to the statutory order of heirs, subject to other applicable rules.
Section 239 includes sons and daughters within the statutory priority structure.