Plot a (density) histogram of 1,000 random draws from a standard normal distribution and overlay the histogram with a normal curve

rnorm(1000)|>hist(prob=T)
curve(dnorm,-3,3,add=T)