This is a survey paper dealing with holomorphic G-structures and holomorphic Cartan geometries on compact complex manifolds. Our emphasis is on the foliated case: holomorphic foliations with transverse (branched or generalized) holomorphic Cartan geometries.