Is guinea pig part of the pig family?

no its part of the rodent family