Family as a social institution