Foreign exchange Contracts

Can someone please help, Whatdo we use Foreign exchange Contracts on axapta for and how do they update GL