Question about how to apply those process in real life

Hi every one


I am confused about something


the estimate cost is input in the estimate activity duration and develop schedule in contrast to

the project schedule is input in the estimates cost process !!


I cannot understand this point , can you please explain it to me 


thank you in advance :)