people say that julius caeser play was a real story.then how come shakespere wrote when alltogehter things were happening???

Julius Caesar, the man, died in 44 B.C. Shakespeare wrote the play about him about A.D. 1600 -- over 1600 years after Caesar's assassination.

Julius Caesar had frailties just as all rulers have frailties ( much as they hate to admit them). Although very smart and capable Caesar was undone by not keeping his ego and ambition in control.

Look at this site. http://www.sparknotes.com/shakespeare/juliuscaesar/canalysis.html
Then check a bio of the ruler of England in the time of Shakespeare, Charles 1 .http://www.british-civil-wars.co.uk/biog/charles1.htm

Might Shakespeare have been making a comparison?

Although Shakespeare's play "Julius Caesar" is based on historical events, it is not a factual account of those events. The play is a work of fiction, and Shakespeare wrote it several centuries after the actual events took place.

To understand how Shakespeare crafted the play, it's important to consider the sources he drew upon. Shakespeare relied on historical accounts written by Roman historians such as Plutarch, who wrote "Parallel Lives" in the 1st century AD. Plutarch's work provided Shakespeare with the base material for his play.

Shakespeare was a master at adapting historical events into compelling dramas. He often took creative liberties to heighten the dramatic effect and engage his audience. In the case of "Julius Caesar," Shakespeare took historical events and characters and shaped them to fit his narrative and to explore universal themes of power, loyalty, and betrayal.

If one wishes to learn about the actual historical events surrounding Julius Caesar, it is necessary to study primary and secondary historical sources. This involves researching ancient Roman history, including the writings of Roman historians like Plutarch, Suetonius, and Julius Caesar's own works, such as "The Gallic War" and "The Civil War."

So, while Shakespeare's play captures the essence of the historical events and characters, it is not a reliable source for actual historical facts. To understand the true story of Julius Caesar, it is best to consult historical sources written by ancient Roman historians.