The era of precision Cosmology is here and it promises to shed light on some of the long-standing questions such as the nature of gravity on the large cosmological scales. In this talk, I will discuss what we can learn about gravity from Large Scale Structure and Cosmic Microwave Background data. I will provide an overview of the exciting observational prospects that are just around the corner, with a focus on the Euclid mission. I will then review approaches to cosmological tests of gravity and discuss theoretical issues involved in finding the optimal theoretical framework. I will touch upon synergy with gravitational wave surveys. I will also show the outcome of a non-parametric reconstruction of gravity from currently available cosmological data sets, discussing the imprints of cosmological tensions in the reconstructed theory.