How are data cubes used in Analytics




I wanted to know how are data cubes used in analytics.I am aware that Sql server Analysis services are used for some basic analysis but do not know how data cubes are formed and how they are used.So can somebody please help me regarding that.