Arduino vs atmega 328

Hi,

Can i remove the ic,(at mega 328) after program using arduino and place it in the same circuit.whether it work properly.
For the blink led example in the IDE, pin no:13 is the led pin.If we remove that ic from the arduino board and place it individuly pin no:13 is marked as PD7 in the pi diagram of atmega 328.is it work properly?

Yes.

how?

Connect up the DIP and the stuff on the left side.
The onboard LED is driven by D13, which is PB5, physical pin 19.