I've a 2007 honda civic. The radio and everything work fine, but when i try to turn on the engine it makes clicking noise. I thought, it could be a battery problem. I also try jump starter to start the car, but same result. The headlight also works fine. I feel like the clicking noise comes from under the dashboard, but i'm not certain. What could be the possible problem?
As discussed in the comments already, the clicking you hear is probably the starter solenoid. You have ruled out a weak battery being the probable cause by attempting to the jump-start the engine. This means either the power cable running directly from the battery to the starter motor is too resistive/poorly connected, or that the starter motor itself is no longer functioning. You don't specify how many miles are on the vehicle, but this is a real possibility, even on a 2007 vehicle. The failure of the starter motor could be due to the brushes making poor contact, since they wear each time the car is started.
If you're willing, you can try tapping on the starter motor housing with 2x4 piece of wood, a broom handle, or something similar. I was able to squeeze a few more starts out of my old starter this way. This would also pinpoint the probable cause to the starter motor. To test the power cable, you need to find a way to measure the voltage seen at the starter motor terminals, not just at the battery. It may be as simple as a loose connection on the starter motor terminals.
If you have a cliking noise when starting car and engine wont start IT MIGHT JUST MEAN THAT YOUR BATTERY IS TOO LOW TO GET IT STARTED. So before going in deeper just GET A JUMP START FOR AT LEAST 10 MINUTES (DONT TRY TO START) and after 10 mins of battaeries attached and other car reving a little THEN YOU CAN TURN KEY TO START AND ALL WILL BE OK if youré lucky.
Don't let unscrupulous mechnics lead you into changing starter, solenoids whatever, before you try the above! After a couple of months of no use, batteries wll go down - JUST REMOVE THE NEGATIVE PORT.