Gravitational theories and cosmology.- The effective action formalism for cosmological perturbations.- Metric only and first order scalar field theory.- High derivative theories.- Explicit theories.- Connections to massive gravity.- Generalized fluid description.- Observational signatures of generalized cosmological perturbations.- Discussion and final remarks.