Chain Vs Agent in Langchain

I thought to check if anyone here is using Langchain. If yes would you know which one is recommended for use chains or agent for a chat application

Thanks