Dark energy : theory and observations