Map Deal fields into Account module

Map Deal fields into Account module

Hi,
my plan is to map certain fields from the deals with the connected account with the help of a function.
I found a lot about the lead mapping process but nothing about field information that should be sent from deals to accounts.
Is there anyone who can help me?
Thank you very much!