Knight in the mid game, bishop in the end game.
Knights in closed pawn structures and bishop in open ones.
Knight