First, the crucial distinction is between types of testimony, not types of witnesses.
The same person (the witness) may provide testimony that is both lay and expert, but appropriate foundations must be in place.